package org.alex.samples.dao;

import java.util.List;

import org.alex.samples.model.ExamTest;

public interface ITestDAO extends IBaseDAO<ExamTest>{
	
	public List<ExamTest> findAllTest();
	
	public void createTest(ExamTest test) throws Exception;
	
	public ExamTest getTestById(Integer id);
	
	public void editTest(ExamTest test) throws Exception;

	public void deleteTest(Integer id)  throws Exception;
	
	public List<ExamTest> getTestListBySubAndTestType(Integer subId, Integer testTypeId);
	
	public List<ExamTest>  getTestListByIdList(List<Integer> randomTestIdList);

}
